<div class="container user-header-nav">
	<div class="subnav">
	{if $ismy}
	    <ul class="nav nav-pills">
	    	{if $action_title}
			<li class="tab active">
				<a href="#" data-toggle="dropdown" class="parent">
					<span class="meta">{$action_title}</span>
				</a>
			</li>
			{/if}
	      <li class="tab dropdown {if $method=="focus"||$method=="share"||$method=="favshare"||$method=="atshare"||$method=="atcomment"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">
					{if $method=="focus"}
					{lang my_focus_pin}
					{elseif $method=="share"}
					{lang my_share_pin}
					{elseif $method=="favshare"}
					{lang my_love_pin}
					{elseif $method=="atshare"}
					@{lang my_pin}
					{elseif $method=="atcomment"}
					@{lang my_comment}
					{else}
					{lang my_pin}
					{/if}
					</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/focus}">{lang my_focus_pin}</a></li>
					<li><a href="{url home/share}">{lang my_share_pin}</a></li>
					<li><a href="{url home/favshare}">{lang my_love_pin}</a></li>
					<li class="divider"></li>
					<li><a href="{url home/atshare}">@{lang my_pin}</a></li>
					<li class="hide"><a href="{url home/atcomment}">@{lang my_comment}</a></li>
				</ul>
			</li>
			<li class="tab dropdown {if $method=="album"||$method=="favalbum"||$method=="albumshare"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">
					{if $method=="favalbum"}
					{lang my_love_album}
					{else}
					{lang my_album} 
					{/if}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu"> 
					<li><a href="{url home/createalbum}">{lang create_album}</a></li>
					<li><a href="{url home/album}">{lang my_album}</a></li>
					<li><a href="{url home/favalbum}">{lang my_love_album}</a></li>
				</ul>
			</li>
			<li class="tab dropdown {if $method=="timeline"||$method=="forumline"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{if $method=="forumline"}{lang forum_line}{else}{lang time_line}{/if}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/timeline}">{lang time_line}</a></li>
					{if $forumopen&&$language=='zh_cn'}
					<li><a href="{url home/forumline}">{lang forum_line}</a></li>
					{/if}
				</ul>
			</li>
			<!--<li class="tab dropdown {if $method=="createtopic"||$method=="updatetopic"||$method=="topics"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{lang topic}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/createtopic}">{lang create_new}{lang topic}</a></li>
					<li><a href="{url home/topics}">{lang my}{lang topic}</a></li>
					<li><a href="{url home/favtopic}">{lang my_love_topic}</a></li>
				</ul>
			</li>-->
			<!--<li class="tab dropdown {if $method=="creategroup"||$method=="updategroup"||$method=="groups"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{lang group}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/creategroup}">{lang create_new}{lang group}</a></li>
					<li><a href="{url home/groups}">{lang my}{lang group}</a></li>
				</ul>
			</li>-->
			<li class="tab dropdown {if $method=="following"||$method=="fans"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{if $method=="following"}{lang my_following}{elseif $method=="fans"}{lang my_fans}{else}{lang my_friends}{/if}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/following}">{lang my_following}</a></li>
					<li><a href="{url home/fans}">{lang my_fans}</a></li>
				</ul>
			</li>
			<li class="tab dropdown {if $method=="message"||$method=="alert"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{if $method=="message"}{lang message}{else}{lang my_alert}{/if}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/alert}">{lang my_alert}</a></li>
					<li><a href="{url home/message}">{lang my_message}</a></li>
					<li><a href="javascript:;" data-action="sendMessageOpen">{lang send_message}</a></li>
				</ul>
			</li>
			{if $user['is_star']&&$settings['star_open']}
			<li class="tab dropdown {if $method=="starsetting"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{lang star_setting}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/starsetting}">{lang star_setting}</a></li> 
				</ul>
			</li>
			{/if}
			{if $settings['store_open']}
			<li class="tab dropdown {if $method=="storesetting"}active{/if}">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{lang store_setting}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/store?act=share}">{lang my_sharestore}</a></li> 
					<li><a href="{url home/store?act=approved}">{lang my_approvestore}</a></li> 
					<li><a href="{url home/store?act=fav}">{lang my_favstore}</a></li> 
					<li><a href="{url home/store?act=create}">{lang apply_to_stay}</a></li> 
				</ul> 
			</li>  
			{/if}
			<li class="tab dropdown pull-right">
				<a href="javascript:;" data-toggle="dropdown" class="parent">
					<span class="meta">{lang account_setting}</span>
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="{url home/basicsetting}">{lang basic_settings}</a></li>
					<li><a href="{url home/securitysetting}">{lang security_settings}</a></li>
					{if $forumopen&&$language=='zh_cn'}
					<li><a href="{url home/bindforum}">{lang bind_forum}</a></li>
					{/if}
					<li><a href="{url home/bindsetting}">{lang bind_settings}</a></li>
				</ul>
			</li>
	    </ul>
	    {else}
	    <ul class="nav nav-pills">
			<li class="tab {if $method=="share"}active{/if}">
				<a href="{url home/share?uid=$uid}" class="parent">
					<span class="meta">{lang his_her_pin}</span>
				</a>
			</li>
			<li class="tab {if $method=="album"}active{/if}">
				<a href="{url home/album?uid=$uid}" class="parent">
					<span class="meta">{lang his_her_album}</span>
				</a>
			</li>
			<li class="tab {if $method=="timeline"}active{/if}">
				<a href="{url home/timeline?uid=$uid}" class="parent">
					<span class="meta">{lang his_her_timeline}</span>
				</a>
			</li>
			<li class="tab {if $method=="following"}active{/if}">
				<a href="{url home/following?uid=$uid}" class="parent">
					<span class="meta">{lang his_her_following}</span>
				</a>
			</li>
			<li class="tab {if $method=="fans"}active{/if}">
				<a href="{url home/fans?uid=$uid}" class="parent">
					<span class="meta">{lang his_her_fans}</span>
				</a>
			</li>
			{if $method=="album_shares"}
				<li class="tab active pull-right">
					<a href="#" class="parent">
						<span class="meta">{$album['album_title']}</span>
					</a>
				</li>
			{/if}
		</ul>
		
		{/if}
	  </div>
</div>
